package com.hntest.dao;

import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Repository;

import com.hntest.entity.IpLog;
import com.hntest.entity.LoginInfor;

/**
 * 登陆流水表
 * @author ZHOU
 *
 */
@Repository("ipLogDao")
public interface IpLogDao {
	//记录登陆流水
	public int writLoginFlow(IpLog user);
	
	//查询登陆流水记录总数
	public int getCount();
	
	//条件查询流水记录总数
	public int getConditionCount(LoginInfor condition);
	
	//分页查询登陆流水
	public List<IpLog> getListByPage(Map<String,Object> map);
}
